package com.wicket.okrbff.web.contorller;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrbff.biz.service.SystemTestDomainService;

import com.wicket.okrbff.common.ro.OkrResult;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.*;
import com.wicket.okrapp.integration.FwAppSystemTestDomainClient;
import com.wicket.okrapp.integration.dto.AutoBuildEvaObjTarCycStaDataComRespDto;
import com.wicket.okrapp.integration.dto.AutoBuildEvaObjTarCycStaDataComReqDto;
import com.wicket.okrbff.common.exception.Assert;
/**
 * @author ： 
 * @date ： 
 *
 *
 * @version 1.0
 */
@Api(value = "SystemTestDomain", tags = {"SystemTestDomain"})
@RestController
// @RequestMapping("/oms/systemTestDomain/")
public class SystemTestDomainController {
    @Autowired
    SystemTestDomainService systemTestDomainService;
/**
   * B3一键构造单条被评对象目标周期标准数据验证数据
   * gen by moon at 9/8/2022, 11:06:53 PM
   */
    @PostMapping("/oms/systemTestDomain/autoBuildSingleEvaObjTarCycStaData")
    @ApiOperation(value = "B3一键构造单条被评对象目标周期标准数据验证数据", response = OkrResult.class)
    public OkrResult<BffAutoBuildSingleEvaObjTarCycStaDataRespDto> autoBuildSingleEvaObjTarCycStaData(@RequestBody(required=false) @Validated BffAutoBuildSingleEvaObjTarCycStaDataReqDto reqDTO){
        return OkrResult.success(systemTestDomainService.autoBuildSingleEvaObjTarCycStaData(reqDTO));
    }
    
}

